package tables

import (
	"time"
)

type Withdrawal struct {
	Id           int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	Money        float64   `xorm:"" json:"money" form:"money" mapstructure:"money"`
	Feel         float64   `xorm:"" json:"feel" form:"feel" mapstructure:"feel"`
	UserId       int       `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	State        int       `xorm:"" json:"state" form:"state" mapstructure:"state"`
	CreatedAt    time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt    time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt    time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Reason       string    `xorm:"" json:"reason" form:"reason" mapstructure:"reason"`
	FreezeAmount float64   `xorm:"" json:"freeze_amount" form:"freeze_amount" mapstructure:"freeze_amount"`
	SubMchId     string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
}
